/**
 * $Id$ Copyright 2009-2012 Oak Pacific Interactive. All rights reserved.
 */
package com.shuqi.database.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import com.shuqi.database.dao.OrmBaseModel;

/**
 * 
 * 
 * @author <a href="mailto:">yaozhen</a>
 * @version 2014-3-7上午11:12:06
 */
@DatabaseTable(tableName = "txt_catalog")
public class TxtCatalog extends OrmBaseModel {
    /** 数据库自增主键 */
    @DatabaseField(generatedId = true)
    private int _id;

    /** txt文件对应的路径 */
    @DatabaseField(columnName = "file_path")
    private String filePath;

    // /** txt文件的章节id 本地维护的id,可能用于跳章之类的使用 */
    // @DatabaseField(columnName = "chapter_id")
    // private int chapterId;

    /** txt文件的章节索引 */
    @DatabaseField(columnName = "chapter_index")
    private int chapterIndex;

    /** txt文件的章节名称 */
    @DatabaseField(columnName = "chapter_name")
    private String chapterName;

    /** 章节结束索引 */
    @DatabaseField(columnName = "chapter_index_end")
    private int chapterEndIndex;

    public int getChapterEndIndex() {
        return chapterEndIndex;
    }

    public void setChapterEndIndex(int chapterEndIndex) {
        this.chapterEndIndex = chapterEndIndex;
    }

    public String getFilePath() {
        return filePath;
    }

    public int getChapterIndex() {
        return chapterIndex;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public void setChapterIndex(int chapterIndex) {
        this.chapterIndex = chapterIndex;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }
}
